package com.example.xiaomi.Model.Controller;

import com.example.xiaomi.Model.Dao.GodsDao;
import com.example.xiaomi.Model.entity.GodsEntity;

import java.util.List;

public class GodsList {
    GodsDao godsDao = new GodsDao();
    public List<GodsEntity> selectall(){
        return godsDao.selectall();
    }
    public List<GodsEntity> specify(int id){
        return godsDao.specify(id);
    }
}
